<template>
    <div>
        <div
            v-if="this.FilType == 'single_line_text' || this.FilType == 'basic_data' || this.FilType == 'decimal' || this.FilType == 'int'"
        >
            <el-input v-model="filtp.input" placeholder="请输入内容"></el-input>
        </div>
        <div v-if="this.FilType == 'date'">
            <el-date-picker v-model="filtp.value" type="date" placeholder="选择日期" format="yyyy 年 MM 月 dd 日" value-format="yyyy-MM-dd">
            </el-date-picker>
        </div>
    </div>
</template>
<script>
export default {
    props: ['FilType'],
    data() {
        return {
            filtp:{
                input:'',
                value:''
            }
        };
    },
    watch: {
        FilType:function(newVal, oldVal){
            console.log(newVal)
        }
    },
};
</script>
<style lang="less" scoped>
</style>